home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Memory / Erotic Games: Memory.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / _macCloseButtonStyle.as < prev    next >
Text File  |  2009-02-12  |  1KB  |  43 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _macCloseButtonStyle
  8.    {
  9.       
  10.       private static var _embed_css_mac_close_up_png_662496331:Class = _macCloseButtonStyle__embed_css_mac_close_up_png_662496331;
  11.       
  12.       private static var _embed_css_mac_close_down_png_357106395:Class = _macCloseButtonStyle__embed_css_mac_close_down_png_357106395;
  13.       
  14.       private static var _embed_css_mac_close_over_png_1922840949:Class = _macCloseButtonStyle__embed_css_mac_close_over_png_1922840949;
  15.        
  16.       
  17.       public function _macCloseButtonStyle()
  18.       {
  19.          super();
  20.       }
  21.       
  22.       public static function init(param1:IFlexModuleFactory) : void
  23.       {
  24.          var fbs:IFlexModuleFactory = param1;
  25.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macCloseButton");
  26.          if(!style)
  27.          {
  28.             style = new CSSStyleDeclaration();
  29.             StyleManager.setStyleDeclaration(".macCloseButton",style,false);
  30.          }
  31.          if(style.defaultFactory == null)
  32.          {
  33.             style.defaultFactory = function():void
  34.             {
  35.                this.upSkin = _embed_css_mac_close_up_png_662496331;
  36.                this.overSkin = _embed_css_mac_close_over_png_1922840949;
  37.                this.downSkin = _embed_css_mac_close_down_png_357106395;
  38.             };
  39.          }
  40.       }
  41.    }
  42. }
  43.